package com.imooc.mapper;

import com.imooc.pojo.OrderStatus;
import com.imooc.pojo.vo.UserOrderItemVO;
import com.imooc.pojo.vo.UserOrderVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author 逸尘风清
 * @date 2021/5/11
 * @time 14:51
 * 描述：
 */
public interface UserOrderMapperCustom {
    public List<UserOrderVo> queryOrderList(@Param("userId") String userId, @Param("orderStatus") Integer orderStatus);

    public Integer getMyOrderStatusCounts(@Param("paramsMap") Map<String, Object> map);

    List<OrderStatus> getMyOrderTrend(@Param("paramsMap") Map<String, Object> map);
}
